package com.kh.samr.enums;

import com.kh.samr.service.IEnum;
import com.kh.samr.utils.EnumUtils;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

import java.util.Map;

/**
 * 享受省级政府特殊津贴
 *
 * @Author Harry
 * @Date 2020/12/28
 */
@ToString
@Getter
@AllArgsConstructor
public enum ProvincialAllowance implements IEnum {
	
	ENJOY(0, "享受"),
	UNENJOY(1, "不享受");
	
	private final int code;
	
	private final String value;
	
	@Override
	public Map<Integer, String> getMap() {
		return EnumUtils.getMapByCode(ProvincialAllowance.class, this.getCode());
	}
}
